package com.spring.entity;

/**
 * @author hfxiang
 * @class_name People
 * @describe
 * @create_date 2022/7/15 23:55
 */
public abstract class AbstractPeople {
    private String name;
    private Integer age;
    private Body body;

    abstract String introduce();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Body getBody() {
        return body;
    }

    public void setBody(Body body) {
        this.body = body;
    }
}
